package rkdwogus7.basic;

public class J02_Math2Java {

	public static void main(String[] args) {
		int x,y,z,s,s0,v0,g,t;
		x = 14;
		y = 2;
		z = 3;
		t = 5;
		g = 10;
		s0 = 1;
		v0 = 3;
		t = 5;
		
		System.out.println( "3x = " + 3 * x );
		System.out.println( "3x + y = " + (3 * x) + y );
		System.out.println( "x + y / 7 = " + (x + y) / 7 );
		System.out.println( ((3 * x) + y) / (z + 2) );
		System.out.println( s=s0 + (v0 * t) + ((1 / 2) * g * (t * t)) );


	}

}
